/*
 * This file is part of Super Luigi Bros.
 * Super Luigi Bros is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Super Luigi Bros is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Super Luigi Bros.  If not, see <http://www.gnu.org/licenses/>.
 */

package luigibros.logic;

/** This class is the main game loop. 
 * However, I could not code it because nothing 
 * else was done.....So right now, I only have 
 * logic and very little psuedocode...
 *  @author - hungryarthi
 */

public class MainGameLoop {

	public static void main(String[] args){
		
		/*
		while( user doesn't exit )
			check for user input
			run AI
			move enemies
			resolve collisions
			draw graphics
			play sounds
		end while
		
		....code I started is below: hahaha
		*/		
		
		while(isOpen()){
			//get user input
			
		}
	}
	/**
	 * 
	 * @return - true if window is open and game is still in session
	 */
	private static boolean isOpen(){
		return true; 
	}
}